laravel time format

37

format date laravel timestamp view -

date('d-m-Y', strtotime($user->from_date));
/**
or
**/
date_format($user->from_date,'D M Y')

format date laravel timestamp view -

date('d-m-Y', strtotime($user->from_date));

Comments

Submit
0 Comments